package com.aeye.mbr.upms.rpc.api;

import com.aeye.mbr.common.result.BootstrapTableParams;
import com.aeye.mbr.common.result.BootstrapTableResult;
import com.aeye.mbr.upms.dao.model.UpmsOrganization;
import com.aeye.mbr.common.plugin.mapper.BaseService;

/**
* UpmsOrganizationService接口
* Created by shuzheng on 2017/3/20.
*/
public interface UpmsOrganizationService extends BaseService<UpmsOrganization> {


    /**
     * 根据条件获取角色数据
     * @param params
     * @return
     */
    BootstrapTableResult<UpmsOrganization> selectUpmsOrganizationByParams(BootstrapTableParams params,String parentCode);


    int addUpmsOrganization(UpmsOrganization upmsOrganization);

    int deleteUpmsOrganization(String id);

}